package com.boyon.system.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Data;

@Data
@Entity
@Table(name = "sys_account_relation", catalog = "boyon_system")
public class AccountRelation implements java.io.Serializable {

	/**
	 * serialVersionUID:
	 * 
	 * @since JDK 1.8
	 */
	private static final long serialVersionUID = 7982496360484342972L;
	@Id
	@Column(name = "account_id", unique = true, nullable = false)
	private Long accountId;
	@Column(name = "relation_id", nullable = false)
	private Long relationId;
	@Column(name = "query_path", length = 64)
	private String queryPath;

}